<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
     <title></title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script type="text/javascript" language="javascript">
     //query the server side page with ajax
     //if the result is success, show alert message together with the result
     //dataType:"json" tells that expected response from server is JSON
     $.ajax({
		url:"GetMessage.asp",
		type:"POST",
		success:function(result){
               alert('Hello ' + result[0].codigo + ' ' + result[0].nomeusu);
          },
		  dataType:"json"
	});

</script>
</head>
<body>
     <a href="index.htm" target="_self">Back</a>
</body>
</html>